﻿<%@ Page Language="C#" AutoEventWireup="true"  Title="处方单明细"  MasterPageFile="~/Master/MasterPage_New.master" CodeBehind="SubsidyDetailShow1.aspx.cs" Inherits="HZ.Supervise.Web.Secondphase.ReportHospital.SubsidyDetailShow1" %>
<%@ Register Src="~/Common/QueryControl.ascx" TagName="QueryControl" TagPrefix="uc1" %>
<%@ Register Src="~/Common/ChartControl.ascx" TagName="ChartControl" TagPrefix="uc2" %>
<%@ Register Src="../../Common/SortControls.ascx" TagName="SortControls" TagPrefix="uc3" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <div id="tabcontent">
  <table class="querylist">
            <tr>
                <td>
<table class="querylist">
                        <tr>
                            <td align="right">
                                处方单名称：</td>
                            <td align="left">
                                <asp:TextBox ID="txtPrescriptionName" runat="server"></asp:TextBox>
                              
                            </td>
                            <td align="right">
                                医生名称：</td>
                            <td align="left">
                                <asp:TextBox ID="txtPdoctorName" runat="server"></asp:TextBox>
                                </td>
                            <td align="right">
                                病人名称：</td>
                            <td align="left">
                                <asp:TextBox ID="txtPatientName" runat="server"></asp:TextBox>
                              
                            </td>
                        </tr>
                         <asp:Literal ID="ltlAdvance" runat="server" Text="&lt;tbody id='advance' style='display:none'&gt;"></asp:Literal>
                    </table>
                    </td>
                      <td width="100px">
                    <asp:Button ID="btnQuery" runat="server" Text="查询" CssClass="searchbtn" SkinID="search"
                        ToolTip="点击查询符合条件的数据" onclick="btnQuery_Click" />
                </td>
            </tr>
        </table>
   </div>
    <div id="tabnav">
        <ul>
            <li class="active"><a href="javascript:void(0)">处方单</a> </li>
        </ul>
    </div>
    <asp:TextBox ID="txtSubsidyID" runat="server" Visible="false"></asp:TextBox>
    <asp:GridView ID="gvwDetail" CssClass="mainlist" runat="server" AutoGenerateColumns="False"
        DataKeyNames="SubsidyDetailId" EmptyDataText="暂无有效的信息！">
        <Columns>
            <asp:TemplateField HeaderText="处方单名称">
                <ItemTemplate>
                    <a href="javascript:showPopWin('查看处方单明细','hospitalPrescriptionDetail.aspx?id=<%# Eval("PrescriptionId")%>', 800,350, null,true,true)">
                        <%# Eval("PrescriptionName")%></a>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="PdoctorName" HeaderText="医生名称" />
            <asp:BoundField DataField="PatientName" HeaderText="病人名称" ReadOnly="True" />
            <asp:BoundField DataField="Paddtime" HeaderText="开方时间" ReadOnly="True" />
            <asp:BoundField DataField="PsympToms" HeaderText="疾病种类" ReadOnly="True" />
            <asp:BoundField DataField="PtotalAmount" HeaderText="处方单总金额" ReadOnly="True" />
            <asp:BoundField DataField="PSubsidiesAmount" HeaderText="应补贴金额" ReadOnly="True" />
            <asp:BoundField DataField="PSbsidyAmount" HeaderText="已补贴金额" ReadOnly="True" />
           
            <asp:TemplateField HeaderText="备注">
                <EditItemTemplate>
                    <asp:TextBox ID="txtNewBZ" runat="server" Width="120px" Height="40px" TextMode="MultiLine"
                        oncontextmenu="javascript:return false;" ToolTip="备注"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <%#Eval("PEssentialDrugsAmount")%>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged">
        </webdiyer:AspNetPager>
    </div>
    <div class="listip">
        <ul>
            <li>提示:<span> </span></li>
        </ul>
    </div>
    <div class="listctrl">
         <input id="Button1" class="btn" 
            onclick=" window.parent.hidePopWin(false);" type="button" value="关闭" />
        </div>
</asp:Content>
